package com.ygy.entity.dto;

import java.io.Serializable;
import java.math.BigDecimal;

public class OrderModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 订单总价
     */
    private BigDecimal totalPrice;

    /**
     * 收货地址ID
     */
    private Integer shippingAddressId;

    // 根据需要，这里可以添加其他与创建订单相关的字段，比如商品列表、支付信息等

    // 省略getter和setter方法...

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getShippingAddressId() {
        return shippingAddressId;
    }

    public void setShippingAddressId(Integer shippingAddressId) {
        this.shippingAddressId = shippingAddressId;
    }

    // ...其他字段的getter和setter方法
}
